
import instance from '@/utils/http'
//登录
export const loginAPI = ({ account, password }) => {
  return instance({
    url: "/login",
    method: "post",
    data: {
      account: account,
      password: password,
    },
  })
}

export const getLikeListAPI = ({ limit = 4 }) => {
  return instance({
    url:'/goods/relevant',
    params: {
      limit 
    }
  })
}